package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 退款订单
 *
 */
@TableName(value = "refund_order")
public class RefundOrder implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<RefundOrder> createExample(){
		return new Example<RefundOrder>(RefundOrder.class);
	}

	/**  */
	@TableId(value = "refund_order_id")
	private Long refundOrderId;

	/** 已付款支付订单id */
	@TableField(value = "pay_order_id")
	private Long payOrderId;

	/**  */
	@TableField(value = "bus_id")
	private Long busId;

	/** 金额 */
	private BigDecimal amount;

	/** 0:未确认 1:退款成功 2:退款失败 */
	private Integer status;

	/** 退款描述 */
	private String description;

	/** 回调返回结果 */
	@TableField(value = "callback_return_result")
	private String callbackReturnResult;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "refund_id")
	private String refundId;

	@TableField(value = "reg_id")
	private Long regId;

	@TableField(value = "refund_type")
	private Integer refundType;

	@TableField(value = "refund_object_id")
	private Long refundObjectId;

	public Long getRefundOrderId() {
		return this.refundOrderId;
	}

	public void setRefundOrderId(Long refundOrderId) {
		this.refundOrderId = refundOrderId;
	}

	public Long getPayOrderId() {
		return this.payOrderId;
	}

	public void setPayOrderId(Long payOrderId) {
		this.payOrderId = payOrderId;
	}

	public Long getBusId() {
		return this.busId;
	}

	public void setBusId(Long busId) {
		this.busId = busId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCallbackReturnResult() {
		return this.callbackReturnResult;
	}

	public void setCallbackReturnResult(String callbackReturnResult) {
		this.callbackReturnResult = callbackReturnResult;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public String getRefundId() {
		return refundId;
	}

	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}

	public Long getRegId() {
		return regId;
	}

	public void setRegId(Long regId) {
		this.regId = regId;
	}

	public Integer getRefundType() {
		return refundType;
	}

	public void setRefundType(Integer refundType) {
		this.refundType = refundType;
	}

	public Long getRefundObjectId() {
		return refundObjectId;
	}

	public void setRefundObjectId(Long refundObjectId) {
		this.refundObjectId = refundObjectId;
	}
}
